sequence_object:reset()
-
sequence_object:reset() Set the sequence back to its original state. The effect is that a subsequent
next()will return thestartvalue. This function requires a ‘write’ privilege on the sequence.
__gc metamethod
boxbox.statbox.cfgbox.ctl
box.error
box.indexbox.index
box.info
box.schemabox.sessionbox.slab
box.spacebox.tuplebox.oncebox.snapshotbox.NULL
bufferclock
console
crypto
csv
digest
errno
fiber
fio
funhttp
iconv
json
log
msgpack
net.box
os
pickle
socket
strictstring
tabletap
tarantooluuid
utf8
uri
xlogyaml
expirationdmembership
vshard
tarantoolctl
libslave tutorialsequence_object:reset()Set the sequence back to its original state.
The effect is that a subsequent next() will return the start value.
This function requires a
‘write’ privilege
on the sequence.